package com.wentao.mall.dao

import com.wentao.mall.api.User
import org.springframework.data.jpa.repository.JpaRepository

interface UserDao : JpaRepository<User, Int> {
    fun findByOpenid(openid: String): User?
}